import { http } from "./axios";

export const post = (url, data) => {
    return new Promise((resolve, reject) => {
        http.post(url, data).then(res => {
            resolve(res.data)
        })
    })
}